# files
SRC = test.cpp
OBJ = $(SRC:.cpp=.o)
OUT = test

# compiler
CC = g++

# options
CFLAGS   = `pkg-config gtk+-2.0 --cflags`
INCLUDES = -I../../include/ -I../../include/linux/
LIBS     = -L../../lib/linux/ `pkg-config gtk+-2.0 --libs` -lrte

$(OUT):	$(OBJ)
	$(CC) $(OBJ) $(LIBS) -o $@

%.o:	%.cpp
	$(CC) -c $(INCLUDES) $(CFLAGS) $< -o $@

clean:
	rm *.o

